Printing a DVI file

Before printing a DVI file it is a good idea to select ``Page Setup'' from the File menu and make sure the paper size and orientation are correct. To print nasty.dvi choose either of the top two items in the File menu. Choosing the second item simply avoids the open-file dialog. tries to support all Macintosh printers, but it also tries to take advantage of the sophisticated features available in PostScript printers. This has often meant going against Apple's guidelines for device-independent printing, so 's printing code has had a long and interesting history! All this is half-explanation and half-apology for what might seem to be an unnecessarily complicated printing strategy. supports three methods of printing a DVI file:
  1. Non-PostScript printing.
  2. Low-level PostScript printing.
  3. Standard PostScript printing.
The printing method chosen by depends on whether or not the current printer is a PostScript device, and the current state of the File menu's ``Use Standard PostScript'' flag. For the bottom two methods, uses a built-in version of Tom Rokicki's dvips program to convert a DVI file into PostScript; see section [*] for details about dvips.

Subsections